import request from "../utils/request";

export const getGoodsList = (params: any = {}) => {
  return request.post("/goods/list", { ...params });
};
export const getGoodsAdd = (params = {}) => {
  return request.post("/goods/add", params);
};
export const getGoodsUpdate = (params = {}) => {
  return request.post("/goods/update", params);
};
export const getGoodsDetail = (params = {}) => {
  return request.post("/goods/detail", params);
};
export const getGoodsDelete = (params = {}) => {
  return request.post("/goods/delete", params);
};
export const getGoodsUpload = (params = {}) => {
  return request.post("/goods/upload", params);
};
